﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MensUnoShop.Areas.Admin.Models
{
    [Serializable]
    public class Manager
    {
        private string _username = "admin";
        private string _password = "webadmin";



        public bool Check(string user, string pwd)
        {
            if (user == _username && pwd == _password)
                return true;
            else
                return false;
        }

        public void SaveCookies()
        {
            HttpContext.Current.Session["ma"] = this;

        }
    }
}